import { createApp } from 'vue'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
import router from './router'
<<<<<<< HEAD
=======
<<<<<<< HEAD
=======
<<<<<<< HEAD
=======
<<<<<<< HEAD
=======
import VueQrcode from 'vue-qrcode'
import '@/assets/common.scss'
import Vant from 'vant';
import 'vant/lib/index.css';


>>>>>>> fb18b0fe (用户界面前端完成)
>>>>>>> 87b07cb3 (用户前端完成)
>>>>>>> 11a963a9 (user front)
>>>>>>> 2dacf7ca (用户页面完成)

const app = createApp(App)
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)

app.use(pinia)
app.use(router)
app.use(ElementPlus)
<<<<<<< HEAD
=======
<<<<<<< HEAD
=======
<<<<<<< HEAD
=======
<<<<<<< HEAD
=======
app.component('vue-qrcode', VueQrcode)
// 将 VueQrcode 组件注册为全局组件，直接使用 <vue-qrcode> 
// import VueQrcode from 'vue-qrcode'
app.use(Vant);
>>>>>>> fb18b0fe (用户界面前端完成)
>>>>>>> 87b07cb3 (用户前端完成)
>>>>>>> 11a963a9 (user front)
>>>>>>> 2dacf7ca (用户页面完成)
app.mount('#app')